package com.wzy.service.user.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 2 * @Author: wuzhengyu
 * 3 * @Date: 2021/3/15 15:41
 * 4
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class LoginParam {

    // 决定该登录是验证码模式还是账号密码模式
    private Integer model;

    // 账号密码登录参数
    private String username;
    private String password;

    // 验证码登录参数
    private String phone;
    private String verificationCode;

}
